package com.demo.nacosdemo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringBootVersion;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @author: NOVOTS
 * @date: 2019-05-06 15:08
 */
@Slf4j
@RestController
public class HelloController {

    @RequestMapping("/version")
    public Object version() {
        return SpringBootVersion.class.getPackage();
    }
}
